package com.yc.cloud.admin.service;

import com.yc.cloud.admin.dto.request.SceneCreateParam;
import com.yc.cloud.admin.dto.request.SceneUpdateParam;
import com.yc.cloud.admin.vo.SceneVo;
import com.yc.cloud.entity.Scene;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yc.cloud.basic.dto.BaseQueryParam;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * <p>
 * 场景 服务类
 * </p>
 *
 * @author Yancy
 * @since 2024-03-28
 */
public interface SceneService extends IService<Scene> {

    /***
     * description:查询列表
     * @param param 查询条件
     * @return 数据信息
     */
    IPage<SceneVo> list(BaseQueryParam param);

    SceneVo convertVo(Scene scenefile);

    List<SceneVo> convertVo(List<Scene> scenefileList);

    Scene create(SceneCreateParam param);

    Scene get(Long id);

    Scene update(Long id, SceneUpdateParam param);

    boolean delete(Long id);
}



